﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace homework5_1
{
    class Program
    {
        static void Main(string[] args)
        {
            int score = Convert.ToInt32(Console.ReadLine());
            switch (score / 10)
            {
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                    Console.WriteLine("成绩不及格");
                    break;
                case 6:
                case 7:
                    Console.WriteLine("成绩及格");
                    break;

                case 8:
                    Console.WriteLine("成绩良好");
                    break;
                case 9:
                case 10:
                    Console.WriteLine("成绩优秀");
                    break;




            }

            Console.ReadKey();
        }
    }
}
